<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<center>
	<h1>list contract</h1>
</center>
<table border="1" cellspacing="1" cellpadding=6 " width="100%">
	<tr>
		<th>Index</th>
		<th>ContractID</th>
		<th>Name</th>
		<th>Scale</th>
		<th>createDate</th>
		<th>Amount</th>
	</tr>
	<s:iterator value="listContract" var="contract" status="status">
		<tr>

			<td><s:property value="#status.index" /></td>
			<td><s:property value="#contract.contractID" /></td>
			<td><s:property value="#contract.contractName" /></td>
			<td><s:property value="#contract.scale" /></td>
			<td><s:property value="#contract.createDate" /></td>
			<td><s:property value="#contract.totalAmount" /></td>
		</tr>
	</s:iterator>
</table>
